package com.cc.config;


import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.servlet.config.annotation.EnableWebMvc;

@Configuration // 配置类
@ComponentScan("com.cc.controller") // 扫描包
@EnableWebMvc // 启用SpringMvc
public class SpringMvcConfig {
}

